package com.jd.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department {

    private Long id;
    /*
    部门编号
     */
    private String sn;
    /*
    部门名称
     */
    private String name;
    /*
    上级分类id
     */
    private String dirPath;
    /*
    部门状态，0正常，1禁用
     */
    private Integer state;
    /*
    员工对象
     */
    private Employee  manager;
    /*
    部门管理员id
     */
    private Long manager_id;
    /*
    上级部门
     */
    private Department  parent;
    /*
    上级部门id
     */
    private Long parent_id;

}
